rootdir = ../..
include("$$rootdir/common.pri")
TEMPLATE = lib
CONFIG += qt \
    warn_on
DEFINES += BUILD_CORE_DLL
QT -= gui
TARGET = greenhills.core
public_headers = ../iserver.h \
    ../server.h \
    ../iroom.h \
    ../room.h \
    ../iroomitem.h \
    ../roomitem.h \
    ../staticroomitem.h \
    ../moveableroomitem.h \
    ../user.h \
    ../waypoint.h \
    ../itemtype.h \
    ../coredll.h

HEADERS += $$public_headers

SOURCES += server.cpp \
    room.cpp \
    roomitem.cpp \
    staticroomitem.cpp \
    moveableroomitem.cpp \
    user.cpp \
    waypoint.cpp \
    itemtype.cpp

LIBS += -lgreenhills.util \
    -lgreenhills.gps
